Optimal. Leaf size=63 \[ \frac{i b \text{PolyLog}(2,-i (c+d x))}{2 d e}-\frac{i b \text{PolyLog}(2,i (c+d x))}{2 d e}+\frac{a \log (c+d x)}{d e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0579499, antiderivative size = 63, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {5043, 12, 4848, 2391} \[ \frac{i b \text{PolyLog}(2,-i (c+d x))}{2 d e}-\frac{i b \text{PolyLog}(2,i (c+d x))}{2 d e}+\frac{a \log (c+d x)}{d e} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5043
Rule 12
Rule 4848
Rule 2391
Rubi steps
\begin{align*} \int \frac{a+b \tan ^{-1}(c+d x)}{c e+d e x} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{a+b \tan ^{-1}(x)}{e x} \, dx,x,c+d x\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{a+b \tan ^{-1}(x)}{x} \, dx,x,c+d x\right )}{d e}\\ &=\frac{a \log (c+d x)}{d e}+\frac{(i b) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,c+d x\right )}{2 d e}-\frac{(i b) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,c+d x\right )}{2 d e}\\ &=\frac{a \log (c+d x)}{d e}+\frac{i b \text{Li}_2(-i (c+d x))}{2 d e}-\frac{i b \text{Li}_2(i (c+d x))}{2 d e}\\ \end{align*}
Mathematica [A] time = 0.0216952, size = 52, normalized size = 0.83 \[ \frac{\frac{1}{2} i b \text{PolyLog}(2,-i (c+d x))-\frac{1}{2} i b \text{PolyLog}(2,i (c+d x))+a \log (c+d x)}{d e} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.046, size = 132, normalized size = 2.1 \begin{align*}{\frac{a\ln \left ( dx+c \right ) }{de}}+{\frac{b\ln \left ( dx+c \right ) \arctan \left ( dx+c \right ) }{de}}+{\frac{{\frac{i}{2}}b\ln \left ( dx+c \right ) \ln \left ( 1+i \left ( dx+c \right ) \right ) }{de}}-{\frac{{\frac{i}{2}}b\ln \left ( dx+c \right ) \ln \left ( 1-i \left ( dx+c \right ) \right ) }{de}}+{\frac{{\frac{i}{2}}b{\it dilog} \left ( 1+i \left ( dx+c \right ) \right ) }{de}}-{\frac{{\frac{i}{2}}b{\it dilog} \left ( 1-i \left ( dx+c \right ) \right ) }{de}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} 2 \, b \int \frac{\arctan \left (d x + c\right )}{2 \,{\left (d e x + c e\right )}}\,{d x} + \frac{a \log \left (d e x + c e\right )}{d e} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \arctan \left (d x + c\right ) + a}{d e x + c e}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{a}{c + d x}\, dx + \int \frac{b \operatorname{atan}{\left (c + d x \right )}}{c + d x}\, dx}{e} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \arctan \left (d x + c\right ) + a}{d e x + c e}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]